package com.zyx.security.controller;

import com.zyx.security.model.base.CommonResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Yaxi.Zhang
 * @since 2022/9/18 10:24
 */
@RestController
public class TestController {
    @GetMapping("/test")
    public String test() {
        System.out.println("test ....");
        return "test ok!";
    }

    @GetMapping("/test02")
    public CommonResult<Void> test02() {
        return CommonResult.success(null);
    }
}
